package com.atguigu.gmall.product.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/admin/product")
@RestController
public class HelloController {
    @GetMapping("/hello/{num}")
    public String SayHello(@PathVariable("num") Long num){
        long i=10L/num;
        return "hello";
    }
}
